﻿/* CSharp project - 2nd chance
 * Autor: Neuza Figueira*/

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Project
{
    public partial class Form4 : Form
    {
        Database database;
        public Form4()
        {
            InitializeComponent();
        }

        private void Form4_Load(object sender, EventArgs e)
        {
            this.database = new Database();
            this.database.openDatabase();

            this.dataGridView1.DataSource = this.database.Statistic3();
            dataGridView1.Columns[0].Width = 450;
            dataGridView1.Columns[1].Width = 350;
            dataGridView1.Columns[2].Width = 60;

            dataGridView1.ReadOnly = true;
        }
    }
}
